home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / AVOGADRO / GRAPHING / MULTIPLOT / !MultiPlot / !Run < prev    next >
Text File  |  1996-05-15  |  2KB  |  47 lines

  1. | > !MultiPlot.!Run
  2. |
  3. | Run file for MultiPlot
  4. |
  5. | by Chris Johnson
  6. |
  7. RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
  8. |
  9. | Follow PRM (4:497) advice and prevent multiple running
  10. |
  11. If "<MultiPlot$Running>" = "yes" Then Error MultiPlot is already running
  12. |
  13. IconSprites <Obey$Dir>.!Sprites
  14. Set Alias$@RunType_7F6 /<Obey$Dir>.!Run %%*0
  15. Set File$Type_7F6 PlotFile
  16. |
  17. | Find path to file
  18. Set MultiPlot$Dir <Obey$Dir>
  19. |
  20. If "<Font$Prefix>"="" Then Error You need to double click on !Fonts before running this application
  21. |
  22. set temp$flag 1
  23. RMEnsure ABCLibrary 0 set temp$flag 0
  24. RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
  25. RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
  26. |
  27. set temp$flag 1
  28. RMEnsure CJWimpUtil 0 set temp$flag 0
  29. RMEnsure CJWimpUtil 0.17 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
  30. RMEnsure CJWimpUtil 0.17 Error You need the CJWimpUtil module (0.15 or later) installed
  31. |
  32. set temp$flag 1
  33. RMEnsure CJdrawUtil 0 set temp$flag 0
  34. RMEnsure CJdrawUtil 0.15 if "<temp$flag>" = "1" Then Error 0 Old CJdrawUtil installed Else RMLoad <Obey$Dir>.cjdrawUtil
  35. RMEnsure CJdrawUtil 0.15 Error You need the CJdrawUtil module installed
  36. unset temp$flag
  37. |
  38. | Set up variables
  39. set MultiPlot$Points 200
  40. set MultiPlot$Lines 8
  41. set MultiPlot$LinePoints 200
  42. | Check memory allocation
  43. WimpSlot -min 224K -max 224K
  44. |
  45. | Now start program
  46. Run <MultiPlot$Dir>.!RunImage %*0
  47.